import service from "utils/request"

// 用户登录
export const login = (data) => {
  return service({
    url: "/base/login",
    method: "post",
    data
  })
}

// 获取验证码
export const captcha = () => {
  return service({
    url: "/base/captcha",
    method: "post"
  })
}
